package com.soda.dao;

import java.util.List;

import com.soda.bean.Student;
import com.soda.util.PageInfo;
import com.soda.util.SelectStudentCondition;

public interface StudentDao {

	Student selectstuNameByLoginNamePwd(String name, String pwd);

	int selectajaxName(String name);

	int addRegistStuMessage(Student s);

	Student selectStumessage(int stuid);

	int chongzhiMoney(Student student, int money);

	Student selectMoneyChongZhiHou(int id);

	int updatePwd(int stuid, String newpwd);

	int updateMessage(int stuid, Student s);

	List<Student> selectAllStuForHouTai(PageInfo pi);

	int queryTotal();

	List<Student> selectStuByCondi(PageInfo pi, SelectStudentCondition ssc);

	int queryConTotal(SelectStudentCondition ssc);

	Student selectStuById(int stuid);

	int updateHoutaiStu(int stuid, Student s);

	int deleteStu(int stuid);

	

}
